<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="description" content="">
  <meta name="author" content="">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="language" content="en" />

  <link rel="shortcut icon" HREF="/images/favicon.png">
  <link rel="icon" href="/images/favicon.png"></link> 
  <!-- CSS concatenated and minified via ant build script-->
  <link rel="stylesheet" href="css/style.css">

  <link rel="stylesheet" href="css/redmond/jquery-ui-1.8.17.custom.css" />
  <link rel="stylesheet" href="css/basic.css">
  <!-- end CSS-->
  
  <!-- 
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" type="text/javascript"></script>
  -->
<script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.17.custom.min.js" type="text/javascript"></script> 
<script src="js/jquery.watermark.min.js" type="text/javascript"></script> 

  <script src="js/groupheal.js" type="text/javascript"></script>
  <script src="js/nick.js" type="text/javascript"></script>
    
  <title>GroupHeal | Providing A Useful Tools to You and Defining the Clinical Research of Tomorrow</title>

  
  
</head>

<body>
	
					<script>

$(document).ready(function() {
    $('.datelinkred').click(function() {
	$('#action').val("cancel");
	$('#time').val($(this).attr('class').replace(/[^0-9]+/g, ''));
	$('#doc').val($("#doc-select option:selected").text());
	
	alert($(this).attr('class'));
	$('#targetform').submit();
    });
});
    $(document).ready(function() {
populate_select2();
});
</script>
					<script language="javascript">


function populate_select2() {

var contentType = "application/x-www-form-urlencoded; charset=utf-8";

var request = new XMLHttpRequest(); 
request.open("GET", './next5-user.txt', false);
request.setRequestHeader('Content-type', contentType);

if (request.overrideMimeType) request.overrideMimeType(contentType);

// exception handling
try { request.send(null); } catch (e) { return null; }
if (request.status == 500 || request.status == 404 || request.status == 2 || (request.status == 0 && request.responseText == '')) return null;

lines = request.responseText.replace(/[0-9:+]/g, '').split('\n')
for( var i in lines ) {
    console.log(lines[i]);
}

var times;
times = request.responseText.replace(/[A-Za-z:,-]/g, '').split('\n')
for( var i in times ) {
    console.log(times[i]);
}



//alert(times);

	var select = document.getElementById("doc-select");
	for(index in lines) {
		select.options[select.options.length] = new Option(lines[index], index);
	}

}
</script>
					<p><form>
    <select id="doc-select" style="   background: transparent;
   width: 268px;
   padding: 5px;
   font-size: 16px;
   border: 1px solid #ccc;
   height: 34px;"></select>

    <div style="margin-top: 10px;">
           <input type="button" id="go" value="Go" /><input type="button" value="Populate Hard Coded" onclick="populate_select1()"  style="visibility:hidden"/>
      <input type="button" value="Populate From Array" onclick="populate_select2()"  style="visibility:hidden"/> <br/>
      <input type="button" value="Empty" onclick="empty_select()"  style="visibility:hidden"/> <input type="button" value="Selected" onclick="alert_selected()"  style="visibility:hidden"/></div>

</form>
			</div>
		</div>
	</div>
</div>





				
			</div>
			<div id="right">
		<div class="clear"></div>
			</div>
		</div>
	</div>
      


<div id="bottombar">
	<div id="footer">
	<p>(c) 2012 GroupHeal</p>

	<ul>
		<li><a href="mailto://info@groupheal.com">Contact</a></li>
		<li><a href="index.php?r=site/about">About</a></li>
		<li><a href="index.php?r=site/help">Help</a></li>
		<li><a href="index.php?r=site/terms">Privacy and Terms</a></li>
	</ul>
	</div>

</div>




	



</body>
</html>

